The Euler Path to Static Level-Ancestors

نویسنده

  • Amir M. Ben-Amram
چکیده

Suppose a rooted tree T is given for preprocessing. The level-ancestor problem is to answer quickly queries of the following form. Given a vertex v and an integer i > 0, find the ith vertex on the path from the root to v. Algorithms that achieve a linear time bound for preprocessing and a constant time bound for a query have been published by Dietz (1991), Alstrup and Holm (2000), and Bender and Farach (2002). The first two algorithms address dynamic versions of the problem; the last addresses the static version only and is the simplest. The purpose of this note is to expose another simple algorithm that lies under a complicated PRAM algorithm by Berkman and Vishkin (1990,1994). We further show that its simplicity allows for an easy extension of its functionality, adding queries for descendants and level successors as well as ancestors, extensions for which the former algorithm is less suitable.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Finding Level-Ancestors in Trees

The level-ancestor problem is considered. Suppose a rooted tree T is given for preprocessing. Answer quickly queries of the following form. Given a vertex v and an integer i > 0, find the ith vertex on the path from v to the root. Given any m, 1 ~<m~<log* n, we achieve the following results: (1) O(log (m) n) a time using an optimal number of processors for preprocessing and constant time using ...

متن کامل

Mechanical Properties Analysis of Bilayer Euler-Bernoulli Beams Based on Elasticity Theory

This paper analyzes the effects of structures and loads on the static bending and free vibration problems of bilayer beams. Based on static mechanical equilibrium and energy equilibrium, the static and dynamic governing equations of bilayer beam are established. It is found that the value of the thickness ratio has a significant effect on the static and dynamic responses of the beam, and the st...

متن کامل

Estimation of pull-in instability voltage of Euler-Bernoulli micro beam by back propagation artificial neural network

The static pull-in instability of beam-type micro-electromechanical systems is theoretically investigated. Two engineering cases including cantilever and double cantilever micro-beam are considered. Considering the mid-plane stretching as the source of the nonlinearity in the beam behavior, a nonlinear size-dependent Euler-Bernoulli beam model is used based on a modified couple stress theory, c...

متن کامل

A Size-dependent Bernoulli-Euler Beam Formulation based on a New Model of Couple Stress Theory

In this paper, a size-dependent formulation for the Bernoulli-Euler beam is developed based on a new model of couple stress theory presented by Hadjesfandiari and Dargush. The constitutive equation obtained in this new model, consists of only one length scale parameter that is capable of capturing the micro-structural size effect in predicting the mechanical behavior of the structure. Having on...

متن کامل

Estimation of pull-in instability voltage of Euler-Bernoulli micro beam by back propagation artificial neural network

The static pull-in instability of beam-type micro-electromechanical systems is theoretically investigated. Two engineering cases including cantilever and double cantilever micro-beam are considered. Considering the mid-plane stretching as the source of the nonlinearity in the beam behavior, a nonlinear size-dependent Euler-Bernoulli beam model is used based on a modified couple stress theory, c...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • CoRR

دوره abs/0909.1030  شماره 

صفحات  -

تاریخ انتشار 2007